//
//  LBShenqingSuccessAddwachatVC.m
//  V-Learn
//
//  Created by Apple on 2019/1/1.
//  Copyright © 2019 yxk. All rights reserved.
//

#import "LBShenqingSuccessAddwachatVC.h"

@interface LBShenqingSuccessAddwachatVC ()

@end

@implementation LBShenqingSuccessAddwachatVC
- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    self.navigationItem.title = @"申请成功";
    
    UIImageView *icon = [[UIImageView alloc] init];
    icon.image = [UIImage imageNamed:@"wk_success"];
    [self.view addSubview:icon];
    [icon makeConstraints:^(MASConstraintMaker *make) {
        make.size.mas_equalTo(CGSizeMake(155*kScaleFit, 133*kScaleFit));
        make.top.mas_equalTo(75*kScaleFit);
        make.centerX.mas_equalTo(self.view);
    }];
    
    UILabel *failLab = [UILabel labelWithText:@"申请成功" andTextColor:rgb(233,84,18) andName:nil andFontSize:15*kScaleFit];
    [self.view addSubview:failLab];
    [failLab makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(icon.mas_bottom).mas_equalTo(20*kScaleFit);
        make.centerX.mas_equalTo(self.view);
    }];
    
    UILabel *shopLab = [UILabel labelWithText:@"购买课程可加入微信群" andTextColor:rgb(102,102,102) andName:nil andFontSize:15*kScaleFit];
    [self.view addSubview:shopLab];
    [shopLab makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(failLab.mas_bottom).mas_equalTo(3*kScaleFit);
        make.centerX.mas_equalTo(self.view);
    }];
    
    UILabel *nameLab = [UILabel labelWithText:@"张春天" andTextColor:rgb(102,102,102) andName:nil andFontSize:15*kScaleFit];
    [self.view addSubview:nameLab];
    [nameLab makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(shopLab.mas_bottom).mas_equalTo(3*kScaleFit);
        make.centerX.mas_equalTo(self.view);
    }];
    
    UILabel *phoneLab = [UILabel labelWithText:@"13333333333" andTextColor:rgb(102,102,102) andName:nil andFontSize:15*kScaleFit];
    [self.view addSubview:phoneLab];
    [phoneLab makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(nameLab.mas_bottom).mas_equalTo(2*kScaleFit);
        make.centerX.mas_equalTo(self.view);
    }];
    
    
    
    UILabel *guwenLab = [UILabel labelWithText:@"课程顾问微信：123456789" andTextColor:rgb(102,102,102) andName:nil andFontSize:15*kScaleFit];
    [self.view addSubview:guwenLab];
    [guwenLab makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(phoneLab.mas_bottom).mas_equalTo(3*kScaleFit);
        make.centerX.mas_equalTo(self.view);
    }];
    
    UILabel *tishiLab = [UILabel labelWithText:@"将此页截图将作为微信进群凭证请发送至课程顾问" andTextColor:rgb(102,102,102) andName:nil andFontSize:12*kScaleFit];
    [self.view addSubview:tishiLab];
    [tishiLab makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(guwenLab.mas_bottom).mas_equalTo(2*kScaleFit);
        make.centerX.mas_equalTo(self.view);
    }];
    
    
}

/*
 #pragma mark - Navigation
 
 // In a storyboard-based application, you will often want to do a little preparation before navigation
 - (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
 // Get the new view controller using [segue destinationViewController].
 // Pass the selected object to the new view controller.
 }
 */


@end
